<?php
if(!$MAIN->users->checkLogin(false)){
?>
<div id="login_full" style="margin:3% 40%;">
	<div id="btn_login_full" class="btn_login">
		<h3>Inloggning</h3>		
	</div>	
	<div id="details_login_full" class="frm_login">
		<form name="frm_login" id="frm_login_full" action="login.php" method="post">
			<input style="width:200px;" type="text" id="txt_email_full" name="txt_email" value="mailadress"/><br/>
			<input style="width:200px;" type="password" id="txt_pass_full" name="txt_pass" value="lösenord"/>
			<input type="hidden" name="chk_remember" id="chk_remember_full" value="1"/>
			<table cellpadding="0" cellspacing="0" style="width:100%;">
				<tr>
					<td style="text-align:right;"><a class="btn" href="javascript:ajaxPost($('frm_login_full'),'login.php');">Logga in</a></td>
				</tr>				
			</table>
		</form>
	</div>
</div>
<script type="text/javascript">
$('txt_email_full').addEvents({
	'focus':function(){
		if(this.value=='mailadress'){this.value='';}
	},
	'blur':function(){
		if(this.value==''){this.value='mailadress';}
	}
})
$('txt_pass_full').addEvents({
	'focus':function(){
		if(this.value=='lösenord'){this.value='';}
	},
	'blur':function(){
		if(this.value==''){this.value='lösenord';}
	}
})
</script>
<?php
}
?>